<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="https://unpkg.com/vue@3.5.21/dist/vue.global.js"></script>

    <style>

        div{
            margin: 10px ;
            border: solid 0.2px grey;
            border-radius: 4px;
        }

    </style>
</head>
<body>
    <div id="app">
       
        <div v-bind:title="title1">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>
        <div :title="title2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic sunt, architecto eum odit eaque error ad, perspiciatis repellat suscipit, numquam provident alias. </div>
          

    </div>

    <script>
       Vue.createApp({
            data(){
                return {
                    msg:'<h3>hello Vue</h3>',
                    title1:'鼠标悬停的时候查看内容1111',
                    title2:'鼠标悬停的时候查看内容2222'
                }
            }
       }).mount("#app")
    </script>
</body>
</html>